﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000AF RID: 175
	internal class Int64Int64 : IInt64Decoder
	{
		// Token: 0x060002BC RID: 700 RVA: 0x0000B990 File Offset: 0x00009D90
		private Int64Int64()
		{
		}

		// Token: 0x060002BD RID: 701 RVA: 0x0000B998 File Offset: 0x00009D98
		public long Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 9;
			return (long)bytes[offset + 1] << 56 | (long)bytes[offset + 2] << 48 | (long)bytes[offset + 3] << 40 | (long)bytes[offset + 4] << 32 | (long)bytes[offset + 5] << 24 | (long)bytes[offset + 6] << 16 | (long)bytes[offset + 7] << 8 | (long)bytes[offset + 8];
		}

		// Token: 0x040000D0 RID: 208
		internal static readonly IInt64Decoder Instance = new Int64Int64();
	}
}
